@import "./variables.scss";
@import "./mixin.scss";
@import "./transition.scss";
@import "./sidebar.scss";
@import "./menu.scss";
@import "./table.scss";
@import "./pagination.scss";
@import "./blue.scss";
@import "./tooltip.scss";

//全局样式更改
.width-100 {
  width: 100%;
}

.height-100 {
  height: 100%;
}
body {
  height: 100%;
  // overflow-y: hidden;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: PingFangSC, Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  &::-webkit-scrollbar {
    display: none;
    /* Chrome Safari */
  }
  scrollbar-width: none;
  /* 火狐 */
  -ms-overflow-style: none;
  /* IE */
  
}
//滚动条样式
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  // background-image: linear-gradient(135deg, #1DE9B6 0%, rgba(8, 196, 219, 0.5) 72%, rgba(0, 182, 234, 0.3) 100%);
  background: #eee;
  cursor: pointer;
}

::-webkit-scrollbar-track {
  border-radius: 0;
  cursor: pointer;
}

::-webkit-scrollbar-thumb {
  border-radius: 0;
  // background-image: linear-gradient(135deg, #1DE9B6 0%, #08c4db 72%, #057494 100%);
  background: rgba(95, 95, 95, 0.7);
  transition: all 0.2s;
  border-radius: 8px;
  cursor: pointer;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(95, 95, 95, 0.7);
  cursor: pointer;
}
label {
  font-weight: 700;
}

html {
  min-width: 1200px;
  height: 100%;
  box-sizing: border-box;
}

input[type="number"] {
  -moz-appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 2px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans",
    "Droid Sans", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

//main-container全局样式
.app-container {
  padding: 20px;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center;
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(
    90deg,
    rgba(32, 182, 249, 1) 0%,
    rgba(32, 182, 249, 1) 0%,
    rgba(33, 120, 241, 1) 100%,
    rgba(33, 120, 241, 1) 100%
  );

  .subtitle {
    font-size: 20px;
    color: #fff;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}

.r-main {
  margin: 0 20px 20px;
  overflow: hidden;
  font-size: 12px;
}
// .el-dialog__body {
//   padding: 10px 20px;

// }
.common-dialog {
  .dialog-footer {
    text-align: center !important;
    button {
      width: 80px;
      height: 32px;
      line-height: 32px;
      border-radius: 16px;
      padding: 0;
    }
  }
  .el-dialog__body {
    max-height: 450px;
    overflow: auto;
    padding: 24px 32px 0 32px;
    .search {
      .container {
        padding: 0;
      }
    }
    .table-components {
      padding-bottom: 20px;
    }
  }
  .el-dialog__footer {
    text-align: center;
    padding: 24px 20px 32px 20px;
  }
}
.el-button--primary,.el-button--default{
  border-radius: 16px;
}
.biaozhunhua_confirm  {
  .el-message-box__header{
    // background-color: #52c41a;
    padding: 32px 0px 0px 72px
  }
  .el-message-box__content{
    .el-message-box__status{
      top: -35px;
      left: 16px;
    }
  }
  .el-message-box__btns{
    text-align: right;
  }
  .el-message-box__btns .el-button:first-child {
    transform: translateX(66px);
    border-radius: 16px;
  }
  .el-message-box__btns .el-button:last-child {
    transform: translateX(-66px);
    border-radius: 16px;
  }
}
label {
  font-weight: normal;
}

.el-form-item__label {
  color: #333;
}

.form-config-all {
  .el-form {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;

    .el-form-item {
      display: flex;
      justify-content: space-between;
      width: 48%;

      &__label {
        font-weight: normal;
        font-size: 12px;
        text-align: right;
      }

      &__content {
        flex-grow: 1;
      }

      &.three {
        width: 32%;
      }

      &.all {
        width: 100%;
      }
    }

    .el-input,
    .el-select,
    .el-textarea {
      width: 100%;
      min-width: 180px;
    }

    .el-button {
      margin: 0 20px;
    }
  }
}

.circle {
  position: relative;
  padding-left: 10px;

  i {
    position: absolute;
    left: 0;
    top: 4px;
    content: "\2022";
    width: 6px;
    height: 6px;
    font-size: 0;
    background: #ccc;
    border-radius: 50%;
    overflow: hidden;
  }
}

/*dialog 效果*/
.el-dialog,
.el-message-box {
  border-radius: 8px;
  overflow: hidden;
}

.el-dialog__header {
  padding: 12px 24px!important;
  border-bottom: 1px solid #efefef;
}
.el-message-box__header {
  padding: 30px 0px 0px 72px;
  // background-color: #efefef;
  // background-color: #337ab7;
  // border-bottom:1px solid #EFEFEF;
}

.el-dialog__title,
.el-message-box__title {
  line-height: 24px;
  font-size: 16px;
  font-family: PingFangSC-Medium, PingFang SC;
  font-weight: 500;
  color: rgba(38, 38, 38, 1);
  // color: #ecf5ff;
}

.el-dialog__headerbtn,
.el-message-box__headerbtn {
  top: 14px;
}

.el-message-box__content {
  padding: 12px 15px;
  font-size: 14px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: rgba(89, 89, 89, 1);
  .el-message-box__status {
    top: -24px;
    left: 17px;
  }
  .el-message-box__status + .el-message-box__message {
    padding-left: 56px;
  }
}

/*导航字体颜色*/
.el-submenu__title,
.el-menu-item {
  height: 50px;
  line-height: 50px;
  color: rgba(255, 255, 255, 0.65) !important;
}

.el-menu-item.is-active {
  color: #659fff !important;
}

.router-link-active {
  .el-menu-item {
    color: #fff !important;
  }
}

// 状态
.round-state {
  position: relative;
  padding-left: 14px;
  &::before {
    content: "";
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
  }
}
.round-state.waitAudit::before {
  background-color: #35a7ff;
}

// 等待待处理
.round-state.wait::before {
  background-color: #ff9535;
}

// 等待待处理
.round-state.waites::before {
  background-color: #f7a900;
}

// 成功
.round-state.enabled::before {
  background-color: #52c41a;
}

//错误或错误
.round-state.disabled::before {
  background-color: #ff4d4f;
}

//失效
.round-state.invalid::before {
  background-color: #999999;
}

//进行中
.round-state.inProgress::before {
  background-color: $executeColor;
}

.round-state1 {
  padding-left: 20px;
}
// 选项卡样式的标签页tab样式
.busCardTabs {
  > .el-tabs__header {
    border-bottom: 1px solid $tabsBorder;
    margin: 0;
    .el-tabs__nav {
      border: 1px solid $tabsBorder;
    }
    .el-tabs__item {
      border-left: 1px solid $tabsBorder;
      color: $tabsBorder;
      min-width: 116px;
      text-align: center;
    }
    .el-tabs__item:nth-child(1) {
      border: 0;
    }
    .is-active {
      color: rgba(38, 38, 38, 1);
      // background: $tabsClickBgColor;
    }
  }
  .el-tabs__content {
    padding: 20px;
    border: 1px solid #e8e8e8;
    border-top: 0;
  }
}

// 表格上方操作按钮样式

.buttonOperation {
  .exportbtnTwo {
    width: 82px;
    height: 32px;
    background: rgba(0, 122, 255, 1);
    border-radius:16px;
    font-size: 14px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: rgba(255, 255, 255, 1);
  }
  .exportbtnFour {
    width: 116px;
    height: 32px;
    border-radius: 16px;
    padding: 0;
  }
}

.flex {
  display: flex;
}

.flex-row {
  flex-direction: row;
}

.flex-column {
  flex-direction: column;
}

.flex-center {
  justify-content: center;
}

.flex-start {
  justify-content: flex-start;
}

.flex-end {
  justify-content: flex-end;
}

.flex-v-center {
  align-items: center;
}

.flex-between {
  justify-content: space-between;
}

.flex-around {
  justify-content: space-around;
}

.flex-v-around {
  align-items: space-around;
}

.flex-v-between {
  align-items: space-between;
}

.flex-v-end {
  align-items: flex-end;
}

.flex_1 {
  flex-grow: 1;
}